package com.yckj.day08;

/**
 * TODO 内部类案例2
 *
 * @author shengyuee
 * @version 1.0
 * 2025/7/25 15:32
 */
public class Outer1 {

    public static class Inner1{ // 静态内部类
        public void print(){
            System.out.println("hello");
        }
    }

    public static void main(String[] args) {
        Outer1.Inner1 inner1 = new Outer1.Inner1();
        inner1.print();
    }
}
